
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administracion</title>

<link rel="stylesheet" type="text/css"  href="css/admin.css"/>
</head>


<body>
<div>
<h1>Galeria</h1>
<h2>Listado de galerias</h2>
<?php
$file = (isset($_GET['file']))?$_GET['file']:"";
$folder = (isset($_GET['folder']))?$_GET['folder']:"/";

unlink("$folder/$file");

echo "<div id=\"informacion\">Imagen borrada exitosamente $folder/$file </div>";

echo "<div><strong><a href=\"listar-imagenes.php?dir=".$folder ."\">Atras</a></strong></div>";
?>
</div>
</body>
</html>
